﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using EntityBinder.Interface;

namespace EntityBinder.Binder
{
	/// <summary>
	/// Binder to create a nested level.
	/// </summary>
	public class NullBinder : IBinder
	{
		public BinderType BinderType
		{
			get
			{
				return Interface.BinderType.CONTAINER;
			}
		}

		public NullBinder()
		{

		}

		public virtual object Read(object _source, string _content, IMemberAccess _memberAccess)
		{
			return _source;
		}

		public virtual string Write(object _source, IMemberAccess _memberAccess)
		{
			return "";
		}
	}
}
